package yunc.checkData.pojo;


import yunc.checkData.utils.MD5Util;

import java.sql.Timestamp;


public class HyBaseZjtide {
    private String timestamp;
    private String stationname;
    //private Double tempEnc;  业务数据不需要环境参数
    //private Double battVolt;  业务数据不需要环境参数
    private Integer crYear;
    private Integer crDay;
    private Integer dataTimes;
    private Integer depthM;
    private Double rBRPressureInfo;
    private Integer machineID;
    private Integer depthMVrs;
    private Double levelM;
    private Double sDM;
    private String umsTs;
    private Timestamp inputTime;
    private String id;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public HyBaseZjtide() {
    }

    public HyBaseZjtide(String timestamp, String stationname, Integer depthM) {
        this.timestamp = timestamp;
        this.stationname = stationname;
        this.depthM = depthM;
        this.id = MD5Util.md5(this.timestamp+this.stationname);
    }

    public HyBaseZjtide(String timestamp, String stationname, Integer crYear, Integer crDay, Integer dataTimes, Integer depthM, Double rBRPressureInfo, Integer machineID, Integer depthMVrs, Double levelM, Double sDM, String umsTs, Timestamp inputTime) {
        this.timestamp = timestamp;
        this.stationname = stationname;
        this.crYear = crYear;
        this.crDay = crDay;
        this.dataTimes = dataTimes;
        this.depthM = depthM;
        this.rBRPressureInfo = rBRPressureInfo;
        this.machineID = machineID;
        this.depthMVrs = depthMVrs;
        this.levelM = levelM;
        this.sDM = sDM;
        this.umsTs = umsTs;
        this.inputTime = inputTime;
        this.id = MD5Util.md5(this.timestamp+this.stationname);
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getStationname() {
        return stationname;
    }

    public void setStationname(String stationname) {
        this.stationname = stationname;
    }

    public Integer getCrYear() {
        return crYear;
    }

    public void setCrYear(Integer crYear) {
        this.crYear = crYear;
    }

    public Integer getCrDay() {
        return crDay;
    }

    public void setCrDay(Integer crDay) {
        this.crDay = crDay;
    }

    public Integer getDataTimes() {
        return dataTimes;
    }

    public void setDataTimes(Integer dataTimes) {
        this.dataTimes = dataTimes;
    }

    public Integer getDepthM() {
        return depthM;
    }

    public void setDepthM(Integer depthM) {
        this.depthM = depthM;
    }

    public Double getrBRPressureInfo() {
        return rBRPressureInfo;
    }

    public void setrBRPressureInfo(Double rBRPressureInfo) {
        this.rBRPressureInfo = rBRPressureInfo;
    }

    public Integer getMachineID() {
        return machineID;
    }

    public void setMachineID(Integer machineID) {
        this.machineID = machineID;
    }

    public Integer getDepthMVrs() {
        return depthMVrs;
    }

    public void setDepthMVrs(Integer depthMVrs) {
        this.depthMVrs = depthMVrs;
    }

    public Double getLevelM() {
        return levelM;
    }

    public void setLevelM(Double levelM) {
        this.levelM = levelM;
    }

    public Double getsDM() {
        return sDM;
    }

    public void setsDM(Double sDM) {
        this.sDM = sDM;
    }

    public String getUmsTs() {
        return umsTs;
    }

    public void setUmsTs(String umsTs) {
        this.umsTs = umsTs;
    }

    public Timestamp getInputTime() {
        return inputTime;
    }

    public void setInputTime(Timestamp inputTime) {
        this.inputTime = inputTime;
    }



    @Override
    public String toString() {
        return "HyBaseZjtide{" +
                "timestamp='" + timestamp + '\'' +
                ", stationname='" + stationname + '\'' +
                ", crYear='" + crYear + '\'' +
                ", crDay='" + crDay + '\'' +
                ", dataTimes='" + dataTimes + '\'' +
                ", depthM='" + depthM + '\'' +
                ", rBRPressureInfo='" + rBRPressureInfo + '\'' +
                ", machineID='" + machineID + '\'' +
                ", depthMVrs='" + depthMVrs + '\'' +
                ", levelM='" + levelM + '\'' +
                ", sDM='" + sDM + '\'' +
                ", umsTs='" + umsTs + '\'' +
                ", inputTime='" + inputTime + '\'' +
                '}';
    }

}
